package com.hospital.ssm.model;

/**
 * @author King
 * @create 2021-01-26-10:43
 * // 药品的 实体类
 */
public class Medicine {
    // 药品ID
    private int mId;
    // 药品名称
    private String mName;
    // 药品价格
    private double mPrice;
    // 药品类型
    private String mmType;
    // 药品厂家
    private String mFactory;
    // 要劈你库存
    private int mNumber;

    public Medicine() {
    }

    public Medicine(String mName, double mPrice, String mmType, String mFactory, int mNumber) {
        this.mName = mName;
        this.mPrice = mPrice;
        this.mmType = mmType;
        this.mFactory = mFactory;
        this.mNumber = mNumber;
    }

    public Medicine(int mId, String mName, double mPrice, String mmType, String mFactory, int mNumber) {
        this.mId = mId;
        this.mName = mName;
        this.mPrice = mPrice;
        this.mmType = mmType;
        this.mFactory = mFactory;
        this.mNumber = mNumber;
    }

    public int getmId() {
        return mId;
    }

    public void setmId(int mId) {
        this.mId = mId;
    }

    public String getmName() {
        return mName;
    }

    public void setmName(String mName) {
        this.mName = mName;
    }

    public double getmPrice() {
        return mPrice;
    }

    public void setmPrice(double mPrice) {
        this.mPrice = mPrice;
    }

    public String getMmType() {
        return mmType;
    }

    public void setMmType(String mmType) {
        this.mmType = mmType;
    }

    public String getmFactory() {
        return mFactory;
    }

    public void setmFactory(String mFactory) {
        this.mFactory = mFactory;
    }

    public int getmNumber() {
        return mNumber;
    }

    public void setmNumber(int mNumber) {
        this.mNumber = mNumber;
    }

    @Override
    public String toString() {
        return "Medicine{" +
                "mId=" + mId +
                ", mName='" + mName + '\'' +
                ", mPrice=" + mPrice +
                ", mmType='" + mmType + '\'' +
                ", mFactory='" + mFactory + '\'' +
                ", mNumber=" + mNumber +
                '}';
    }
}
